﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="EditSubject.aspx.cs" Inherits="SchoolAdministration.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .fieldvalidator
        {
            padding-left:40px; color:red;
        }
          .checkbox
          {
              margin-left:190px;
              padding-right:20px;
              float:left;
          }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pagetitle" runat="server">
    <h3 class="page-title">Edit SUbject Details</h3>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="breadcrum" runat="server">
    <ul class="breadcrumb">
        <li><a href="#">School Administrator</a><span class="divider">/</span></li>
        <li><a href="#">Student Manangement</a><span class="divider">/</span></li>
        <li class="active">Add Student Details</li>                      
    </ul>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="mainchangingpart" runat="server">
        <div class="widget yellow">
        <div class="widget-title">
            <h4>Add/ Create Users</h4>
            <span class="tools">
            <a href="javascript:;" class="icon-chevron-down"></a>
            <a href="javascript:;" class="icon-remove"></a>
            </span>
         </div>
         <div class="widget-body">
              <label style="width:150px; padding-right:20px; float:left; font-size:16px;" >Subject Id</label>
             <asp:TextBox ID="TXTSubjectId" CssClass="text large required"  runat="server"></asp:TextBox>
             <br />
             <label style="width:150px; padding-right:20px; float:left; font-size:16px;" >Subject Name</label>
             <asp:TextBox ID="TxtSubject" CssClass="text large required"  runat="server"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="AddSubject" ErrorMessage="Required" ControlToValidate="TxtSubject" CssClass="fieldvalidator"></asp:RequiredFieldValidator>
              <br />
             <label style="width:150px; padding-right:20px; float:left; font-size:16px;" >SubjectCode</label>
             <asp:TextBox ID="TxtSubjectCode" CssClass="text large required" runat="server"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ValidationGroup="AddSubject"  CssClass="fieldvalidator" runat="server" ControlToValidate="TxtSubjectCode" ErrorMessage="Required"></asp:RequiredFieldValidator>
               <br />
             <label style="width:150px; padding-right:20px; float:left; font-size:16px;" >Class</label>
             <asp:DropDownList ID="ClassDropdown" runat="server"></asp:DropDownList>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ValidationGroup="AddSubject"  CssClass="fieldvalidator" runat="server" ErrorMessage="Required" ControlToValidate="ClassDropdown"></asp:RequiredFieldValidator><br />         
 
             <asp:Button ID="BtnEditSubject" CssClass="submit" runat="server" Text="Save" OnClick="Button1_Click" ValidationGroup="AddSubject"/>  
         <div>
     </div>
     <asp:Label ID="MsgDisplaylbl" runat="server" Text="Label"></asp:Label> 	

</asp:Content>

